<%@page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/jsp/comm_css_include.jsp"%>
<!doctype html>
<html>
<head>
</head>
<body class="gray-bg">
	<div class="container creditbody">
		<div class="iboxtitle">
			<span><i class="glyphicon glyphicon-map-marker"></i>&nbsp;贷中业务>贷中信息登记>银行放款</span>
			<a href="javascript:void(0)"></a>
		</div>
			<form class="form-horizontal" id="commentForm">
				<%@include file="/jsp/common_yw_with_loan_include.jsp"%>
				<div class="business-manwife">状态信息</div>
				<div class="business-padding">
					<table cellpadding="0" cellspacing="0" border="0" class="infor-table">
						<tr>	
							<td align="right">
								<label class="control-label np">分期状态：</label>
							</td>
							<td>
								<div id="applyDiviStatusDisplay" class="control-div">${empty dzApplyDivi.applyDiviStatusDisplay ? "-" : dzApplyDivi.applyDiviStatusDisplay}</div>
							</td>
							<td align="right">
								<label class="control-label np">银行分期状态：</label>
							</td>
							<td>
								<div id="bankApplyDiviStatusDisplay" class="control-div">${empty dzApplyDivi.bankApplyDiviStatusDisplay ? "-" : dzApplyDivi.bankApplyDiviStatusDisplay}</div>
							</td>
						</tr>
					</table>
				</div>
							
				<div class="business-manwife">车辆信息</div>
				<div class="business-padding">
					<table cellpadding="0" cellspacing="0" border="0" class="infor-table">
						<tr>	
							<td align="right">
								<!-- 车辆ID -->
								<input id="applyDiviId" name="applyDiviId" type="hidden" value="${dzApplyDivi.id }">
								<!-- 车辆ID -->
								<input id="carId" name="carId" type="hidden" value="${ywBusinessCar.id }">
								<!-- 车牌ID -->
								<input id="registrationId" name="registrationId" type="hidden" value="${dzRegistration.id }">
								<label class="control-label np">车辆型号：</label>
							</td>
							<td colspan="3">
								<%-- <input type="text" placeholder="请输入汽车品牌(必填)" required="required" id="carName" class="form-control smalliconcur smallicon" name="carName" value="${ywBusinessCar.nameCarModel }" onclick="carcho(false,this.value);" />  --%>
								<div  id="carName" class="control-div">${ywBusinessCar.nameCarModel }</div>
								<input type="hidden" id="carModel" name="carModel" value="${ywBusinessCar.carModel }" /> 
								<input id="carBrand" name="carBrand" type="hidden" value="${ywBusinessCar.carBrand }" /> 
								<input id="carSeries" name="carSeries" type="hidden"  value="${ywBusinessCar.carSeries }"/> 
								<input type="hidden" id="nameCarModel" name="nameCarModel" value="${ywBusinessCar.nameCarModel }" /> 
								<input id="nameCarBrand" name="nameCarBrand" type="hidden"  value="${ywBusinessCar.nameCarBrand }" /> 
								<input id="nameCarSeries" name="nameCarSeries" type="hidden" value="${ywBusinessCar.nameCarSeries }" />
								<input id="priceNewcar" name="priceNewcar" type="hidden"  value="${ywBusinessCar.priceNewcar }"/>
							</td>
						</tr>
						<tr>		
							<td align="right">
								<label class="control-label np">车架号：</label>
							</td>
							<td>
								<div  id="vin" class="control-div">${ywBusinessCar.vin }</div>
							</td>
							<td align="right">
								<label class="control-label np">厂牌型号：</label>
							</td>
							<td>
								<div  id="noticeModel" class="control-div">${ywBusinessCar.noticeModel }</div>
							</td>
						</tr>
						<tr>		
							<td align="right">
								<label class="control-label np">机动车登记证号：</label>
							</td>
							<td>
								<div  id="registrationNumber" class="control-div">${empty dzApplyDivi.registrationNumber ? dzRegistration.registrationNumber : dzApplyDivi.registrationNumber}</div>
							</td>
						
							<td align="right">
								<label class="control-label np">车牌号：</label>
							</td>
							<td>
								<div  id="licensePlate" class="control-div">${empty dzApplyDivi.licensePlate ? dzRegistration.licensePlate : dzApplyDivi.licensePlate}</div>
							</td>
						</tr>
						<tr>	
							<td align="right">
								<label class="control-label np">开票单位：</label>
							</td>
							<td colspan="3">
								<div  id="companyBill" class="control-div">${ywBusinessCar.companyBill }</div>
							</td>
						</tr>
					</table>
				</div>
				<c:if test="${ywBusinessCar.carType == '02' }">
					<div class="business-manwife">二手车额外信息</div>
					<div class="business-padding">
						<table cellpadding="0" cellspacing="0" border="0" class="buyinfor-table">
							<tr>	
								<td align="right">
									<label class="control-label np">已使用年限(月)：</label>
								</td>
								<td>
									<input class="form-control" type="text"  id="carAge" name="carAge" placeholder="已使用年限" value="${ywBusinessLoan.carAge }"  readonly="readonly"/>
								</td>
								
								<td align="right">
									<label class="control-label np">车辆评估价：</label>
								</td>
								<td>
									<input class="form-control" type="text" id="carEstimatePrice" name="carEstimatePrice"  placeholder="车辆评估价" value="<fmt:formatNumber type="number" value="${ywBusinessLoan.carEstimatePrice}" pattern="0.00" maxFractionDigits="2"/>"  readonly="readonly"/>
								</td>
							</tr>
							<tr>	
								<td align="right">
									<label class="control-label np">估价机构：</label>
								</td>
								<td colspan="3">
									<input class="form-control" type="text" id="AssessOrg" name="AssessOrg" readonly="readonly" required="required" placeholder="估价机构(必填)"  value="${dzApplyDivi.assessOrg }"/>
								</td>
							</tr>
						</table>
					</div>
				</c:if>
				
				<div class="business-manwife">车贷信息</div>
				<div class="business-padding">
					<table cellpadding="0" cellspacing="0" border="0" class="infor-table">
						<tr>	
							<td align="right">
								<label class="control-label np">首付金额：</label>
							</td>
							<td>
								<div  id="signFirstPaymentAmount" class="control-div"><fmt:formatNumber type="number" value="${ywBusinessLoan.firstPaymentAmount}" pattern="0.00" maxFractionDigits="2"/></div>
							</td>
							
							<td align="right">
								<label class="control-label np">实际贷款额：</label>
							</td>
							<td>
								<div  id="loanAmount" class="control-div"><fmt:formatNumber type="number" value="${ywBusinessLoan.loanAmount}" pattern="0.00" maxFractionDigits="2"/></div>
							</td>
						</tr>
						<tr>	
							<td align="right">
								<label class="control-label np">手续费收取方式：</label>
							</td>
							<td>
								<div id="FeeMode" class="control-div">${dzApplyDivi.feeModeDisplay }</div>
							</td>
							<td align="right">
								<label class="control-label np">银行费率(%)：</label>
							</td>
							<td>
								<div  id="bankRate" class="control-div"><fmt:formatNumber type="number" value="${empty ywBusinessLoan.bankRate ? 0 : ywBusinessLoan.bankRate * 100}" pattern="0.0000" maxFractionDigits="4"/></div>
							</td>
						</tr>
						<tr>	
							<td align="right">
								<label class="control-label np">是否贴息：</label>
							</td>
							<td>
								<div id="tiexiFlag" class="control-div">${dzApplyDivi.tiexiFlagDisplay }</div>
							</td>
							<td align="right">
								<label class="control-label np">贴息费率(%)：</label>
							</td>
							<td>
								<div  id="tiexiRate" class="control-div"><fmt:formatNumber type="number" value="${dzApplyDivi.tiexiRate * 100}" pattern="0.00" maxFractionDigits="2"/></div>
							</td>
						</tr>
						<tr>	
							<td align="right">
								<label class="control-label np">信用卡：</label>
							</td>
							<td colspan="3">
								<div id="card" class="control-div">${dzApplyDivi.card }</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="business-manwife">备注</div>
				<div class="business-padding">
					<table cellpadding="0" cellspacing="0" border="0" class="infor-table">
						<tr>	
							<td align="right" valign="top">
								<label class="control-label np">备注信息：</label>
							</td>
							<td>
								<div id="remarks" class="control-div">${dzApplyDivi.remarks }</div>
							</td>
						</tr>
					</table>		
				</div>
				<!-- 当前经办人 -->
    			<%@include file="/jsp/comm_current_person_include.jsp"%>
			</form>
		</div>
		
		<!-- public quote -->
		<%@include file="/jsp/comm_js_include.jsp"%>
		<!-- layerDate plugin javascript -->
		<script src="${basePath}/js/plugins/layer/laydate/laydate.js"></script>
		<%@include file="/jsp/carchoice_js_include.jsp"%>
		
		<script type="text/javascript">
		    
   		</script>
</body>
</html>
